package com.zhuiyun.project.api.plan.fitnessPlanActionCount.mapper;

import com.zhuiyun.project.api.plan.fitnessPlanAction.model.FitnessPlanActionModel;
import com.zhuiyun.project.api.plan.fitnessPlanActionCount.entity.FitnessPlanActionCount;
import com.zhuiyun.project.api.plan.fitnessPlanActionCount.model.FitnessPlanActionCountModel;
import com.zhuiyun.project.utils.pageUtil.PageRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FitnessPlanActionCountMapper {
    /**
     * @Author 杨珅
     * @Description todo 健身计划动作分页查询
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    public List<FitnessPlanActionCountModel> selectAll(PageRequest pageRequest, Integer planActionId);
//    /**
//     * @Author 杨珅
//     * @Description todo 根据目的id全查标签
//     * @Date 2023/11/2 9:28
//     * @Return  * @param null
//     */
//    public List<FitnessType> selectTypes(PageRequest pageRequest, Integer fitnessPurposeId);
    /**
     * @Author 杨珅
     * @Description todo 健身计划动作新增
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    public int insertFitnessPlanActionCount(FitnessPlanActionCount fitnessPlanActionCount);
    /**
     * @Author 杨珅
     * @Description todo 健身计划动作修改
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    public int updateFitnessPlanActionCount(FitnessPlanActionCount fitnessPlanActionCount);
    /**
     * @Author 杨珅
     * @Description todo 健身计划动作删除
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    public int deleteFitnessPlanActionCount(FitnessPlanActionCount fitnessPlanActionCount);
}
